package com.dhcc.bpm.modules.sandbox.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springblade.core.mp.base.BaseEntity;

/**
 * <p>
 * 沙箱用例记录表
 * </p>
 *
 * @author xiafayu
 * @since 2022-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OPC_CASE_LOG")
@ApiModel(value = "OpcCaseLog对象", description = "沙箱用例记录表")
public class OpcCaseLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用例编号")
    @TableField("CASE_ID")
    private Long caseId;

    @ApiModelProperty(value = "访问路径")
    @TableField("PATH")
    private String path;

    @ApiModelProperty(value = "IP")
    @TableField("IP")
    private String ip;

    @ApiModelProperty(value = "请求日期")
    @TableField("REQUEST_DATE")
    private String requestDate;

    @ApiModelProperty(value = "请求时间")
    @TableField("REQUEST_TIME")
    private String requestTime;

    @ApiModelProperty(value = "请求耗时")
    @TableField("REQUEST_CONSUME")
    private String requestConsume;

    @ApiModelProperty(value = "响应状态")
    @TableField("RESPONSE_STATUS")
    private String responseStatus;

    @ApiModelProperty(value = "响应日期")
    @TableField("RESPONSE_DATE")
    private String responseDate;

    @ApiModelProperty(value = "响应时间")
    @TableField("RESPONSE_TIME")
    private String responseTime;

    @ApiModelProperty(value = "请求方式")
    @TableField("REQUEST_TYPE")
    private String requestType;

    @ApiModelProperty(value = "接口编号")
    @TableField("OPC_API_CODE")
    private String opcApiCode;

    @ApiModelProperty(value = "应用/渠道编号")
    @TableField("OPC_APP_CODE")
    private String opcAppCode;

    @ApiModelProperty(value = "机构编号")
    @TableField("OPC_ORGA_CODE")
    private String opcOrgaCode;

    @ApiModelProperty(value = "交易流水号")
    @TableField("TRACE_NO")
    private String traceNo;

    @ApiModelProperty(value = "环境类型")
    @TableField("ENV_TYPE")
    private String envType;

    @ApiModelProperty(value = "请求报文")
    @TableField("REQUEST_MESSAGE")
    private String requestMessage;

    @ApiModelProperty(value = "响应报文")
    @TableField("RESPONSE_MESSAGE")
    private String responseMessage;

    @ApiModelProperty(value = "描述")
    @TableField("DESCRIBE")
    private String describe;

    @ApiModelProperty(value = "租户ID")
    @TableField("TENANT_ID")
    private String tenantId;

    @ApiModelProperty(value = "网关编号")
    @TableField("GATEWAY_CODE")
    private String gatewayCode;

    @ApiModelProperty(value = "网关类型")
    @TableField("GATEWAY_TYPE")
    private String gatewayType;

    @ApiModelProperty(value = "异常类型(1： 网关异常，2：通讯异常 3：业务异常)")
    @TableField("EXPTION_TYPE")
    private Long exptionType;

    @TableField("IS_ENABLE_ENCRYPT")
    private String isEnableEncrypt;


}
